<% @stylesheets = ["lists"]
   @title = "Menù prodotti"%>
<div class="productsList">
  <ul>
<h2> Ecco le nostre Pizze!:</h2>
<% @pizzas.each do |product| %>
    <li><h2><%=h product.name %></h2>
    <h3><%=h product.ingredients %></h3>
    <h4><i>&euro <%=h product.price %> </i></h4>
    <%= link_to "Aggiungi al carrello", customer_addproduct_to_order_path(product) if @current_account and @current_account.user_type == "Customer" %>
    </li>

<% end %>
<br />
<h2> Ecco le nostre Bevande!:</h2>
<% @bevandas.each do |product| %>
    <li><h2><%=h product.name %></h2>

    <h4><i>&euro <%=h product.price %> </i></h4>
    <%= link_to "Aggiungi al carrello", customer_addproduct_to_order_path(product) if @current_account and @current_account.user_type == "Customer" %>
    </li>
<% end %>
</ul>
</div>
